package com.mouse.magent.proxy.constant;

import com.mouse.magent.common.protocol.Command;
import com.mouse.magent.common.service.BaseAction;
import com.mouse.magent.common.service.BaseCommandAction;
import com.mouse.magent.proxy.action.*;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ProxyCommand implements BaseCommandAction {
    ca1(Command.PROXY_CONNECT, new ProxyConnectAction()),
    ca2(Command.PROXY_CLOSE, new ProxyCloseAction()),
    ca3(Command.REMOTE_CONNECT, new RemoteConnectAction()),
    ca4(Command.REMOTE_DISCONNECT, new RemoteDisconnectAction()),
    ca5(Command.REMOTE_DATA, new RemoteDataAction()),

    ;
    private Command command;
    private BaseAction action;
}
